package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 移仓任务表头
 * </p>
 *
 * @author Wayne
 * @since 2021-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WHS_MOVE")
@ApiModel(value="WhsMove对象", description="移仓任务表头")
public class WhsMove implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "移仓任务uuid")
    @TableId("WHS_MOVE_UUID")
    private String whsMoveUuid;

    @ApiModelProperty(value = "移仓任务单号")
    @TableField("WHS_MOVE_NO")
    private String whsMoveNo;

    @ApiModelProperty(value = "移动类型")
    @TableField("MOVE_TYPE")
    private String moveType;

    @ApiModelProperty(value = "货物类型")
    @TableField("GOODS_TYPE")
    private String goodsType;

    @ApiModelProperty(value = "移出工厂代码")
    @TableField("WERKS_MOVE_OUT")
    private String werksMoveOut;

    @ApiModelProperty(value = "移出仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_OUT")
    private String whsLocationCodeMoveOut;

    @ApiModelProperty(value = "移出备注")
    @TableField("MOVE_OUT_REMARK")
    private String moveOutRemark;

    @ApiModelProperty(value = "移入工厂代码")
    @TableField("WERKS_MOVE_IN")
    private String werksMoveIn;

    @ApiModelProperty(value = "移入仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_IN")
    private String whsLocationCodeMoveIn;

    @ApiModelProperty(value = "移入备注")
    @TableField("MOVE_IN_REMARK")
    private String moveInRemark;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "SAP凭证")
    @TableField("SAP_VOUCHER")
    private String sapVoucher;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "移出执行人工号")
    @TableField("MOVE_OUT_USERID")
    private String moveOutUserid;

    @ApiModelProperty(value = "移入执行人工号")
    @TableField("MOVE_IN_USERID")
    private String moveInUserid;

    @ApiModelProperty(value = "单据状态(0删除;1草稿;2移出可执行;3移出提交(移入可执行);4移入提交(待上传SAP);5提交SAP成功;6完成(计算库存);")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "备注字段")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "SAP凭证年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;
}
